/* 订单管理系统全局样式 */
.admin-container {
  display: flex;
  height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f5f7fa;
}

/* 左侧导航样式 */
.sidebar {
  width: 240px;
  background-color: #2c3e50;
  color: white;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #34495e;
  background-color: #34495e;
}

.sidebar-header h2 {
  font-size: 18px;
  font-weight: 600;
}

.menu ul {
  list-style: none;
  padding: 10px 0;
  flex: 1;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.menu-item:hover {
  background-color: #34495e;
  color: white;
}

.menu-item.active {
  background-color: #34495e;
  color: white;
  border-left-color: #3498db;
}

.menu-icon {
  margin-right: 12px;
  font-size: 18px;
}

.menu-text {
  font-size: 14px;
  font-weight: 500;
}

.menu-divider {
  height: 1px;
  background-color: #34495e;
  margin: 10px 0;
}

/* 右侧内容区域样式 */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.content-header {
  padding: 20px 24px;
  background-color: white;
  border-bottom: 1px solid #e1e8ed;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.content-header h1 {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
}

.content-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .sidebar {
    width: 60px;
  }
  
  .sidebar-header h2,
  .menu-text {
    display: none;
  }
  
  .menu-item {
    justify-content: center;
    padding: 15px 0;
  }
  
  .menu-icon {
    margin-right: 0;
  }
}

/* 图表内容样式 */
.chart-content {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-placeholder {
  text-align: center;
}

.chart-placeholder h2 {
  margin-bottom: 20px;
  color: #333;
}

.chart-icon {
  font-size: 48px;
  color: #95a5a6;
  margin-bottom: 20px;
}

.chart-description {
  color: #7f8c8d;
}